home *** CD-ROM | disk | FTP | other *** search
- //
- // CITFloat include
- //
- // StormC
- //
- // version 2002.01.25
- //
-
- #ifndef CIT_FLOAT_H
- #define CIT_FLOAT_H TRUE
-
- #ifndef CIT_INPUT_H
- #include "CITString.h"
- #endif
-
- class CITFloat:public CITString
- {
- public:
- CITFloat();
- ~CITFloat();
-
- void Format(char* f) { formatStr = f; }
- void Number(double num);
- double Number();
-
- protected:
- virtual Object* NewObjectA(TagItem* tags);
- virtual ULONG hookEntry(struct Hook* inputHook,APTR object,APTR msg);
-
- char* formatStr;
- char outputStr[32];
-
- private:
- TagItem* floatTag;
- };
-
- #endif
-